package jnpf.engine.model.flowengine.shuntjson.childnode;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 *
 *  isStart
 *
 */
@Data
public class GroupsModel {
    @Schema(description = "每个条件的id")
    private String cellKey;
    //1.字段 2.内置 3,公式 4,来自审批节点 5  来自Http/SQL节点   6内置参数
    @Schema(description = "类型")
    private int fieldType = 1;
    private String fieldName;//如果是字段
    private String fullName;//如果是字段,那么是
    private String type;//currUser
    @Schema(description = "类型")
    //1.数据里面获取 //2.解析表达式
    private String field;
    @Schema(description = "类型")
    private String jnpfKey;//控件类型

    private String format;//如果是时间选择 或者是日期选择 ,那么它是有对应的format的
    private String valueFormat;


    @Schema(description = "运算符  ")
    private String symbol;


    @Schema(description = "类型")
    //1.字段 2.自定义
    private int fieldValueType = 2;
    @Schema(description = "类型")
    //1.数据里面获取 2.直接获取
    private Object fieldValue;


    @Schema(description = "类型")
    private String fieldValueJnpfKey;


    @Schema(description = "类型")
    //1.字段 2.自定义
    private int fieldValueType1 = 2;
    @Schema(description = "类型")
    //1.数据里面获取 2.直接获取
    private Object fieldValue1;


    @Schema(description = "类型")
    private String fieldValueJnpfKey1;



    //条件与条件之间的运算符
    private String logic;
}
